package com.yehuishou.pojo;

import java.io.Serializable;
import java.util.Date;

/*
 *@author xiaosa 
 *@descrip 竞价商品表
 */


public class BidItem  implements Serializable{
	
	
	private Integer bid;//主键
	
	private String bidname;//商品名称
	
	private Integer cid;//分类
	
	private Integer pid;//品牌
	
	private Integer mid;//型号
	
	private String biddes;//收获地址
	
	private String delivery_time;//交货时间
	
	private String publish_time;//上架时间
	
	private Integer amount;//商品数量
	
	private double lowprice;//商品低价
	
	private double currentprice;//当前价
	
	private Integer status;//状态
	
	 private String img_url;//竞价商品图片
	 
	private double bidrange;// 商品竞价的幅度

	private String classifyname;//分类名称
	
	private  String brandname; //品牌名称
	
	private  String model;//型号名称

	public BidItem() {
		super();
		// TODO Auto-generated constructor stub
	}

	public BidItem(Integer bid, String bidname, Integer cid, Integer pid, Integer mid, String biddes,
			String delivery_time, String publish_time, Integer amount, double lowprice, double currentprice,
			Integer status, String img_url, double bidrange, String classifyname, String brandname, String model) {
		super();
		this.bid = bid;
		this.bidname = bidname;
		this.cid = cid;
		this.pid = pid;
		this.mid = mid;
		this.biddes = biddes;
		this.delivery_time = delivery_time;
		this.publish_time = publish_time;
		this.amount = amount;
		this.lowprice = lowprice;
		this.currentprice = currentprice;
		this.status = status;
		this.img_url = img_url;
		this.bidrange = bidrange;
		this.classifyname = classifyname;
		this.brandname = brandname;
		this.model = model;
	}

	public Integer getBid() {
		return bid;
	}

	public void setBid(Integer bid) {
		this.bid = bid;
	}

	public String getBidname() {
		return bidname;
	}

	public void setBidname(String bidname) {
		this.bidname = bidname;
	}

	public Integer getCid() {
		return cid;
	}

	public void setCid(Integer cid) {
		this.cid = cid;
	}

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public Integer getMid() {
		return mid;
	}

	public void setMid(Integer mid) {
		this.mid = mid;
	}

	public String getBiddes() {
		return biddes;
	}

	public void setBiddes(String biddes) {
		this.biddes = biddes;
	}

	public String getDelivery_time() {
		return delivery_time;
	}

	public void setDelivery_time(String delivery_time) {
		this.delivery_time = delivery_time;
	}

	public String getPublish_time() {
		return publish_time;
	}

	public void setPublish_time(String publish_time) {
		this.publish_time = publish_time;
	}

	public Integer getAmount() {
		return amount;
	}

	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	public double getLowprice() {
		return lowprice;
	}

	public void setLowprice(double lowprice) {
		this.lowprice = lowprice;
	}

	public double getCurrentprice() {
		return currentprice;
	}

	public void setCurrentprice(double currentprice) {
		this.currentprice = currentprice;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getImg_url() {
		return img_url;
	}

	public void setImg_url(String img_url) {
		this.img_url = img_url;
	}

	public double getBidrange() {
		return bidrange;
	}

	public void setBidrange(double bidrange) {
		this.bidrange = bidrange;
	}

	public String getClassifyname() {
		return classifyname;
	}

	public void setClassifyname(String classifyname) {
		this.classifyname = classifyname;
	}

	public String getBrandname() {
		return brandname;
	}

	public void setBrandname(String brandname) {
		this.brandname = brandname;
	}

	public String getModel() {
		return model;
	}

	public void setModel(String model) {
		this.model = model;
	}

	@Override
	public String toString() {
		return "BidItem [bid=" + bid + ", bidname=" + bidname + ", cid=" + cid + ", pid=" + pid + ", mid=" + mid
				+ ", biddes=" + biddes + ", delivery_time=" + delivery_time + ", publish_time=" + publish_time
				+ ", amount=" + amount + ", lowprice=" + lowprice + ", currentprice=" + currentprice + ", status="
				+ status + ", img_url=" + img_url + ", bidrange=" + bidrange + ", classifyname=" + classifyname
				+ ", brandname=" + brandname + ", model=" + model + "]";
	}

	
}
